from mailing import send_mail_cse_smtp

zero_list = [
    "1155093593",
    "1155096429",
    "1155096606",
    "1155107831",
    "1155107841",
    "1155108909",
    "1155109025",
    "1155109508",
    "1155109788",
    "1155109863",
    "1155109907",
    "1155110077",
    "1155110461",
    "1155110628",
    "1155124313",
    "1155124315",
    "1155125624",
    "1155125628",
    "1155125630",
]

subject = "CSCI3100 Homework 5 Mark Notification"

msg = """Dear student,

This email is to inform you that you got a zero mark because we did not receive your homework 5 submission. Please remember to finish other homework.

Regards,
CSCI3100 TA Group
"""
for sid in zero_list:
    send_mail_cse_smtp(
        "csci3100",  # cse username
        subject,  # subject
        msg,  # content
        None,  # no attachment
        [sid + "@link.cuhk.edu.hk", "jyliu@cse.cuhk.edu.hk"],  # receiver list
    )
